Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@wixc3/patterns
Advanced tools
Useful data structures such as LRU-Cache, set-multi-map, Signal, EventEmitter, Disposable, Debouncer
Class | Description |
---|---|
Debouncer | Cancelable debouncing of calls to trigger |
EventEmitter | A simple event emitter |
LRUCache | BASIC (not optimal) implementation of the LRU cache |
SetMultiMap | Maps keys to a set of values |
Signal | Signal is a simple event emitter for one type of event. |
Function | Description |
---|---|
createDisposables() | Disposables allow adding of disposal async functions, when dispose is called, these functions will be run sequentially |
isSetMultiMap(x) |
Interface | Description |
---|---|
LRUCacheConfig |
Type Alias | Description |
---|---|
Disposable | |
Disposables | |
DisposeFunction | |
IEventEmitter | |
Listener |
FAQs
A utility for saving objects to be disposed
The npm package @wixc3/patterns receives a total of 366 weekly downloads. As such, @wixc3/patterns popularity was classified as not popular.
We found that @wixc3/patterns demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 68 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.